//导入requset工具
import request from '@/utils/request'
// 考勤分页查询

export const attendancePageService = (params) => {
  return request.get('/admin/attendance/page', { params: params })
}

// 考勤备注
export const updateAttendanceRemarkService = (params) => {
  return request.put('/admin/attendance/remark', params)
}
//获取打卡时间
export const getWorkTimeConfigService = () => {
  return request.get('/admin/attendance/worktimeconfig')
}

// 更新打卡时间配置
export const updateWorkTimeConfigService = (data) => {
  return request.put('/admin/attendance/worktimeconfig', data)
}